//
//  CXHotCityLikeCollectionViewCell.m
//  Travel
//
//  Created by dllo on 15/12/5.
//  Copyright © 2015年 doll. All rights reserved.
//

#import "CXHotCityLikeCollectionViewCell.h"
#import "UIImageView+WebCache.h"
#import "Location.h"

@interface CXHotCityLikeCollectionViewCell ()

@property (weak, nonatomic) IBOutlet UIImageView *img_icon;

@property (weak, nonatomic) IBOutlet UILabel *label_title;


@end

@implementation CXHotCityLikeCollectionViewCell

- (void)setModel_location:(Location *)model_location
{
    _model_location = model_location;
    [self.img_icon sd_setImageWithURL:[NSURL URLWithString:self.model_location.photo] placeholderImage:[UIImage imageNamed:@""]];
   // NSLog(@"sssssss%@", self.model_location.photo);
    self.label_title.text = self.model_location.name;
}


- (void)awakeFromNib {
    // Initialization code
}

@end
